/*
 * @Description: 账单模块路由（从老项目同步结构）
 */
import Layout from '@/layout/Index.vue'

const billRouter = [
    {
        path: '/bill',
        component: Layout,
        redirect: '/bill/index',
        children: [
            {
                path: 'index',
                component: () => import('@/views/Bill/Index.vue'),
                name: 'BillIndex'
            },
            { path: 'businessBill', component: () => import('@/views/Bill/businessBill/Index.vue'), name: 'businessBill' },
            { path: 'takeOut', component: () => import('@/views/Bill/takeOut/Index.vue'), name: 'takeOut' },
            { path: 'onAccount', component: () => import('@/views/Bill/onAccount/Index.vue'), name: 'onAccount' },
            { path: 'dailySaleSummary', component: () => import('@/views/Bill/dailySaleSummary/Index.vue'), name: 'dailySaleSummary' },
            { path: 'cancelClosing', component: () => import('@/views/Bill/cancelClosing/Index.vue'), name: 'cancelClosing' },
            { path: 'handoverSummary', component: () => import('@/views/Bill/handoverSummary/Index.vue'), name: 'handoverSummary' },
            { path: 'handover', component: () => import('@/views/Bill/handoverBill/Index.vue'), name: 'handoverBill' },
            { path: 'timeDivisionSale', component: () => import('@/views/Bill/timeDivisionSale/Index.vue'), name: 'timeDivisionSale' },
            { path: 'foodCategorySummary', component: () => import('@/views/Bill/foodCategorySummary/Index.vue'), name: 'foodCategorySummary' },
            { path: 'onAccountDetail', component: () => import('@/views/Bill/onAccountDetail/Index.vue'), name: 'onAccountDetail' }
        ]
    }
]

export default billRouter


